<div id="main">
<!--div class="position">您现在的位置：<a href="<?{url url='/'}?>">首页</a> &gt;&gt; <a href="<?{url url='/product/'}?>">产品中心</a> &gt;&gt;<a href="<?{$strurl|geturl}?>"><?{$strTypeTitle}?> </div-->
<div class="height12"></div>
<!--左列开始-->
<div id="column_l">
<?{include file="$strBlock1"}?>
<?{include file="$strBlock2"}?>
	<div class="height12"></div>
<?{if !empty($arrCOOKIE_record)}?>
	<div id="viewedpro">
		<div class="viewed_t">最近浏览过的产品</div>
		<div class="viewed_b" style="padding-left:5px;">
			<ul>
				<?{foreach from=$arrCOOKIE_record item=arrData}?>
					<li style="float:left; width:95px; height:120px;">
						<div id="viewedimg">
							<a href="<?{url url = "/`$arrGWeb.module_id`/detail.php?id=`$arrData.0`"}?>" title="<?{$arrData.4}?><?{$arrData.3}?><?{$arrData.5}?>">
							<?{ if empty($arrData.1)}?>
								<img src="<?{$templats_root}?>/images/nopics.jpg" alt="<?{$arrData.3}?>" onload="resizepic(this,80,80)" />
							<?{else}?>
								<img src="<?{$FileCallPath}?>s/<?{$arrData.1}?>" alt="<?{$arrData.4}?><?{$arrData.3}?><?{$arrData.5}?>"onload="resizepic(this,80,80)"/>
							<?{/if}?>
							</a>
						</div>
						<div id="viewedtitle">
							<a href="<?{url url = "/`$arrGWeb.module_id`/detail.php?id=`$arrData.id`"}?>" title="<?{$arrData.4}?><?{$arrData.3}?><?{$arrData.5}?>"><?{$arrData.4}?><?{$arrData.5}?></a>
						</div>
						<div id="viewedcanshu"><?{$arrData.3}?></div>
					</li>
				<?{/foreach}?>
			</ul>
			<div class="clr"></div>
		</div>
	</div>
<?{/if}?>
</div>
<!--左列结束-->
<div id="column_r">	
<div class="look_product">当前位置：<a href="<?{url url='/'}?>">首页</a> &gt;&gt; <a href="<?{url url='/product/'}?>">产品中心</a> &gt;&gt;<a href="<?{$strurl|geturl}?>"><?{$strTypeTitle}?></a><div class="clr"></div> </div>
	<!--div class="look_product">&nbsp;您正在查看:</div-->
	<div class="product_class">
		<?{if !empty($arrChildType)}?>
		<h1>相关分类：</h1>
		<div class="product_class_con">
			<ul>
			<?{foreach from=$arrChildType key=key item=arrChildType}?>
			<li><a href="<?{if !empty($arrChildType.type_link)}?><?{$arrChildType.type_link}?><?{else}?><?{url url = "/product/list.php?`$strLink`type_id=`$arrChildType.type_id`"}?><?{/if}?>"><?{$arrChildType.type_title}?>（<?{if !empty($arrChildType.nums)}?><?{$arrChildType.nums}?><?{else}?>0<?{/if}?>）</a></li>
			<?{/foreach}?>
				<div class="clr"></div>
			</ul>
		</div>
		<?{/if}?>
		<?{if !empty($arrChildBrand)}?>
		<h1>相关品牌：</h1>
		<div class="product_class_con">
			<ul>
			<?{foreach from=$arrChildBrand key=key item=arrBrand}?>
				<li><a href="<?{if !empty($arrBrand.link)}?><?{$arrBrand.type_link}?><?{else}?><?{url url = "/product/list.php?`$strLink`brand_id=`$arrBrand.brand_id`"}?><?{/if}?>"> <?{$arrBrand.brand}?>（<?{if !empty($arrBrand.nums)}?><?{$arrBrand.nums}?><?{else}?>0<?{/if}?>）</a></li>
			<?{/foreach}?>
				<li><a href="<?{url url = "/product/list.php?`$strLink`brand_id=all"}?>"><span class="orange">点击查看所有品牌 >></span></a></li>
				<div class="clr"></div>
			</ul>
		</div>
		<?{/if}?>
	</div>
	<div id="prolistmark">	
		<ul>
			<form action="" method="get">
				<input type="hidden" value="<?{$smarty.get.type_id}?>" name="type_id">			
			</form>
			<li class="text">请选择排序方式：<?{if !empty($smarty.get.click)}?><font color=#FF6600>按关注度</font><?{else}?>按关注度<?{/if}?></li>
			<li class="img">
			<a href="<?{url url = "/product/search.php?click=1&price=`$smarty.get.price`&date=`$smarty.get.date`&brand_id=`$smarty.get.brand_id`&type_id=`$smarty.get.type_id``$keywordslink`"}?>"><img src="<?{$arrGWeb.templats_root}?>/images/orderup.png" alt="升序" title="升序"></a>
			<a href="<?{url url = "/product/search.php?click=2&price=`$smarty.get.price`&date=`$smarty.get.date`&brand_id=`$smarty.get.brand_id`&type_id=`$smarty.get.type_id``$keywordslink`"}?>"><img src="<?{$arrGWeb.templats_root}?>/images/orderdesc.png" alt="降序" title="降序"></a>
			</li>
			<li class="text"><?{if !empty($smarty.get.price)}?><font color=#FF6600>按价格</font><?{else}?>按价格<?{/if}?></li>
			<li class="img">
			<a href="<?{url url = "/product/search.php?price=1&click=`$smarty.get.click`&date=`$smarty.get.date`&brand_id=`$smarty.get.brand_id`&type_id=`$smarty.get.type_id``$keywordslink`"}?>"><img src="<?{$arrGWeb.templats_root}?>/images/orderup.png"  alt="升序" title="升序"></a> <a href="<?{url url = "/product/search.php?price=2&click=`$smarty.get.click`&date=`$smarty.get.date`&brand_id=`$smarty.get.brand_id`&type_id=`$smarty.get.type_id``$keywordslink`"}?>"><img src="<?{$arrGWeb.templats_root}?>/images/orderdesc.png"  alt="降序" title="降序"></a>
			</li>
			<li class="text"><?{if !empty($smarty.get.date)}?><font color=#FF6600>按上架时间</font><?{else}?>按上架时间<?{/if}?></li>
			<li class="img">
			<a href="<?{url url = "/product/search.php?date=1&click=`$smarty.get.click`&price=`$smarty.get.price`&brand_id=`$smarty.get.brand_id`&type_id=`$smarty.get.type_id``$keywordslink`"}?>"><img src="<?{$arrGWeb.templats_root}?>/images/orderup.png"  alt="升序" title="升序"></a> <a href="<?{url url = "/product/search.php?date=2&click=`$smarty.get.click`&price=`$smarty.get.price`&brand_id=`$smarty.get.brand_id`&type_id=`$smarty.get.type_id``$keywordslink`"}?>"><img src="<?{$arrGWeb.templats_root}?>/images/orderdesc.png"  alt="降序" title="降序"></a>
			</li>
		</ul>			
		
		<div id="prolistmark_b">
				<table>
					<tr>
					<td>  
						<table width="739" border="1">
							<tr align="center">
							<td width="35">比较</td>
							<td width="90">编码</td>
							<td width="80">图片</td>
							<td width="60">品牌</td>
							<td width="145">名称+型号</td>
							<td width="70">市场价</td>
							<td width="70"><span style="color:#F16228;">我们的价格</span></td>
							<td width="70">促销价</td>
							<td width="40">购物车</td>
							<td width="35">收藏</td>
							</tr>
						</table>
					</td>
					</tr>					
					<?{foreach from=$arrInfoList item=arrData}?>
					<tr class="tddashed">
					<td style="border-bottom:1px dashed #ccc;">  
						<table width="739" border="0">
							<tr align="center">
							<td width="35"><input type="checkbox" name="cid" value="<?{$arrData.id}?>" onclick="compare(this);" /></td>
							<td width="90"><?{$arrData.code}?></td>
							<td width="80"><a href="<?{url url = "/product/detail.php?id=`$arrData.id`" cache = "`$arrData.file_static`"}?>"><img class="img" src="<?{if empty($arrData.thumbnail)}?><?{$arrGWeb.templats_root}?>/images/nopics.jpg<?{else}?><?{$FileCallPath}?>s/<?{$arrData.thumbnail}?><?{/if}?>" alt="<?{$arrData.brand}?><?{$arrData.model}?><?{$arrData.title}?>" onload="resizepic(this,80,80)" id='biweb' /></a></td>
							<td width="60"><?{$arrData.brand}?></td>
							<td width="145"><span class="tdproname"><a href="<?{if $arrData.linkurl!=''}?><?{$arrData.linkurl}?><?{else}?><?{url url = "/product/detail.php?id=`$arrData.id`" cache = "`$arrData.file_static`"}?><?{/if}?>" title="<?{$arrData.summary}?>" class="lista"><?{$arrData.title}?></a></span><br /><?{$arrData.model}?></td>
							<td width="70">￥<del><?{$arrData.market_price|string_format:"%.2f"}?></del></td>
							<td width="70">￥<?{$arrData.my_price|string_format:"%.2f"}?></td>
							<td width="70"><?{if !empty($arrData.my_promotion)}?>￥<?{$arrData.my_promotion|string_format:"%.2f"}?><?{else}?>暂无<?{/if}?></td>
							<td width="40"><a href="<?{url url = "/deal/index.php?id=`$arrData.id`"}?>"><img src="<?{$arrGWeb.templats_root}?>/images/shopjt.png"></a></td>
							<td width="35"><a href="JavaScript:AddFavorite('http://<?{$smarty.server.HTTP_HOST}?><?{url url = "/product/detail.php?id=`$arrData.id`" cache = "`$arrData.file_static`"}?>','<?{$arrData.brand}?><?{$arrData.model}?><?{$arrData.title}?>');">收藏</a></td>
							</tr>
						</table>
					</td>
					</tr>
					<?{/foreach}?>							
				</table>
				<div class="height12"></div>
				<div id="page"><?{$strPage}?></div>
		</div>
	</div>
</div>
</div>
<script type="text/javascript">
var rpicn = document.getElementsByName('biweb');
var rpicw = 80;
var rpicw = 80;
AttachEvent(window, 'load', resizepics);
</script>
